//
//  NoteModel.m
//  product_B
//
//  Created by lanou on 16/6/3.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "NoteModel.h"

@implementation NoteModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}
- (NSMutableArray *)modelCongigureWithJsonDic:(NSDictionary *)jsonDic{
    NSMutableArray *modelArray = [NSMutableArray array];
    NSArray *dataArray = jsonDic[@"data"];
    for (NSDictionary *dic in dataArray) {
        NoteModel *model = [[NoteModel alloc]init];
        [model setValuesForKeysWithDictionary:dic];
        [modelArray addObject:model];
    }
    return modelArray;
}
@end
